<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>VSlider.mxml</title>
<link rel="stylesheet" type="text/css" href="../../SourceStyles.css"/>
</head>

<body><pre><span class="MXMLProcessing_Instruction">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span>
<span class="MXMLComponent_Tag">&lt;mx:HBox</span><span class="MXMLDefault_Text"> xmlns:mx=&quot;</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;
         paddingBottom=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot; paddingLeft=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot; paddingRight=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot; paddingTop=&quot;</span><span class="MXMLString">0</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
    <span class="MXMLSpecial_Tag">&lt;mx:Script&gt;</span>
        <span class="ActionScriptOperator">&lt;!</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">CDATA</span><span class="ActionScriptBracket/Brace">[</span>
            <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">collections</span>.<span class="ActionScriptDefault_Text">ArrayCollection</span>;

            <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">components</span>.<span class="ActionScriptDefault_Text">QSChart</span>;

            <span class="ActionScriptReserved">include</span> <span class="ActionScriptString">&apos;slider.as&apos;</span>;

            <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">qsChart</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">QSChartInterface</span>;
            <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">max</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
            <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">min</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span>;
            <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">labels</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Array</span>;
        <span class="ActionScriptBracket/Brace">]]</span><span class="ActionScriptOperator">&gt;</span>
    <span class="MXMLSpecial_Tag">&lt;/mx:Script&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:VSlider</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">hSlider</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; minimum=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">min</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; maximum=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">max</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot;
                snapInterval=&quot;</span><span class="MXMLString">1</span><span class="MXMLDefault_Text">&quot; liveDragging=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; labels=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">labels</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot;
                change=&quot;</span><span class="ActionScriptDefault_Text">changeSlider</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hSlider</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:VBox</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">captionBox</span><span class="MXMLDefault_Text">&quot; verticalAlign=&quot;</span><span class="MXMLString">middle</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;
             horizontalAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:LinkButton</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">increment</span><span class="MXMLDefault_Text">&quot; label=&quot;</span><span class="MXMLString">increment</span><span class="MXMLDefault_Text">&quot; fontStyle=&quot;</span><span class="MXMLString">italic</span><span class="MXMLDefault_Text">&quot;
                       fontSize=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">incSlider</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hSlider</span>, 1<span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Text</span><span class="MXMLDefault_Text"> id=&apos;</span><span class="MXMLString">caption</span><span class="MXMLDefault_Text">&apos; text=&quot;</span><span class="MXMLDefault_Text">&quot; fontStyle=&quot;</span><span class="MXMLString">italic</span><span class="MXMLDefault_Text">&quot;
                 textAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:LinkButton</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">decrement</span><span class="MXMLDefault_Text">&quot; label=&quot;</span><span class="MXMLString">decrement</span><span class="MXMLDefault_Text">&quot; fontStyle=&quot;</span><span class="MXMLString">italic</span><span class="MXMLDefault_Text">&quot;
                       fontSize=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">incSlider</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">hSlider</span>, <span class="ActionScriptOperator">-</span>1<span class="ActionScriptBracket/Brace">)</span>;<span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:VBox&gt;</span>
<span class="MXMLComponent_Tag">&lt;/mx:HBox&gt;</span></pre></body>
</html>
